package net.ys.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author: NMY
 * @Date: 2021/7/7
 * @Time: 14:23
 */

@Data
@Configuration
@ConfigurationProperties(prefix = "system")
public class SystemConfig {

    @Value("${system.dd.url}")
    private String ddUrl;

    @Value("${system.dd.access_token}")
    private String ddAccessToken;

    @Value("${system.dd.secret}")
    private String ddSecret;

    @Value("${system.wx.url}")
    private String wxUrl;

    @Value("${system.wx.key}")
    private String wxKey;
}
